package top.yxqz.number2.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.yxqz.number2.dao.EmpDao;
import top.yxqz.number2.entity.Emp;
import top.yxqz.number2.service.EmpService;

/**
 * @author: 余小小
 * @date: 2023/9/12
 * @description：
 */
@Service
public class EmpServiceImp implements EmpService {

    @Autowired
    private EmpDao empDao;

    @Override
    public Emp getEmpById(int id) {
        return empDao.getEmpById(id);
    }
}
